<?
include_once "conn.php";

$day = date(d);
$month = date(m);
$year = date(Y);

$qdel1 = "select * from job_post";
$rdel1 = mysql_query($qdel1) or die(mysql_error());

if(mysql_num_rows($rdel1) > '0')
{
	while($adel1 = mysql_fetch_array($rdel1))
	{
		$my_date = mktime(0,0,0,$adel1[EXmonth], $adel1[EXday], $adel1[EXyear]);

		if($my_date <= time())
		{
			$MyIDs[] = $adel1[job_id];
		}
	}

	if(!empty($MyIDs))
	{
		$NewID = implode("', '", $MyIDs);
		mysql_query("delete from job_post where job_id in ('$NewID') ") or die(mysql_error());
	}
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Jobs Company</title><meta dcb license 123456789>
<meta name="description" content="">
<meta name="keywords" content="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="EN">
<meta name="robots" content="index,follow">
<meta name="revisit-after" content="15 days">
<meta name="document-classification" content="Internet">
<meta name="document-type" content="Public">
<meta name="document-rating" content="Safe for Kids">
<meta name="document-distribution" content="Global">

<link href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/style.css" rel="stylesheet" type="text/css">

<SCRIPT LANGUAGE="JavaScript">
<!--
function other_win(url) {

	window.open(url, "MyWin", "toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=yes,width=600,height=400,left = 100,top = 50");

}

function image_over(image_name)

{

var a = document.all(image_name);

a.src = "http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/" + image_name + "_a.gif"

}

function image_out(image_name)

{

var a = document.all(image_name);

a.src = "http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/" + image_name + ".gif"

}

function cdel(w) {

	if(confirm('Are you sure you want to delete this '+w+'?'))
	{
		return true;
	}
	else
	{
		return false;
	}

}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

//-->
</script>

<style type="text/css">
<!--
body {
	background-color: #6BA7C4;
	background-image: url(http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/temp_bg.jpg);
	background-repeat: repeat-x;
	margin-top: 0px;
}
a:link, a:visited, a:active {color:#474747;text-decoration:none;}
a:hover {color:#474747;text-decoration:underline;}
-->
</style></head>
<body leftmargin="0" marginwidth="0" onLoad="MM_preloadImages('images/butt_home_ro.jpg','images/butt_aboutus_ro.jpg','images/butt_postresume_ro.jpg','images/butt_postjob_ro.jpg','images/butt_search_ro.jpg','images/butt_contacts_ro.jpg','images/button_home2.png','images/button_aboutus2.png','images/button_resume2.png','images/button_job2.png','images/button_search2.png','http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_home2.png','http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_aboutus2.png','http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_resume2.png','http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_job2.png','http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_search2.png')">
<table border="0" cellpadding="0" cellspacing="0" width="900" align="center" style="border-left:1px solid #C1C1C1; border-right:1px solid #C1C1C1">
  <tr>
    <td height="36" valign="top" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/header_topbar.png" style="background-repeat:repeat-x"><table width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td width="32"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/header_topbar_img.png" width="32" height="36"></td>
        <td width="696" style="padding-bottom:8px"><marquee scrollamount="3"><span class="w">Find New Jobs, Employment Opportunities, or a New Career with us! Register today!</span></marquee></td>
        <td width="113" valign="top"><table width="4%" align="right" cellpadding="5" cellspacing="0">
          <tr>
            <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/top_button_home.png" alt="Home" width="27" height="18" border="0"></a></td>
            <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/JobSearch.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/top_button_search.png" alt="Advance Search" width="27" height="18" border="0"></a></td>
            <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/contactus.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/top_button_contact.png" alt="Contact Us" width="27" height="18" border="0"></a></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/header_bg.jpg" bgcolor="#FFFFFF" style="background-repeat:repeat-x"><table width="100%" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="32" valign="top"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/header_topbar_img2.png" width="32" height="36"></td>
        <td width="290"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/logo.png" width="290" height="91"></td>
        <td align="right" valign="middle" style="padding-right:20px">
<script type="text/javascript"><!--
google_ad_client = "pub-2970919938578104";
/* 468x60, created 1/18/09 */
google_ad_slot = "6671413276";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
        </td>
      </tr>

    </table></td>
  </tr>
  <tr>
    <td height="23" align="center" bgcolor="#0067B6" style="border-top: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF"><table width="100%" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td height="19" align="left" style="padding-left:10px; padding-right:10px"><span class="w">
		 <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>" class="toplink"><b>Home</b></a> | <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/about.php" class="toplink"><b>About Us</b></a> | <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/build_resume.php" class="toplink"><b>Post Resume</b></a> | <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/PostJob.php" class="toplink"><b>Post Job</b></a> | <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/JobSearch.php" class="toplink"><b>Advance Search</b></a> | <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/faq.php" class="toplink"><b>FAQ</b></a> | <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/stories.php" class="toplink"><b>Success Story</b></a> | <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/tips.php" class="toplink"><b>Job Hunting Tips</b> </a> | <a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/contactus.php" class="toplink"><b>Contact Us</b></a></span></td>
      </tr>
    </table></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="900" align="center" style="border-left:1px solid #C1C1C1; border-right:1px solid #C1C1C1">
<tr valign="top">
  <td width="180" bgcolor="#D0D9E0" style="padding:10px">
<!-- Jobseekers -->
<!-- Employers -->
<table width="180" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border:1px solid #CFCFCF">

  <tr>
    <td height="21" colspan="2" class="title" style="padding-left:6px"><span class="title" style="padding-left:6px"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet2.png" width="14" height="14"  border="0"></span><b>&nbsp; Jobseekers</b></td>
    </tr>
  <?
if(empty($_SESSION[uname]))
{
?>
  <tr>
    <td width="27" align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td width="140" height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/jobseeker_registration.php" class="underline">Join For Free</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/login.php"  class="underline">Login</a></td>
  </tr>
  <?
}
?>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/build_resume.php"  class="underline">Post Resume</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td width="27" align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td width="140" height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/ER1.php"  class="underline">Edit Resume</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/preview.php"  class="underline">View Resume</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/JobSearch.php"  class="underline">Search Jobs</a></td>
  </tr>
  <?
if(!empty($_SESSION[uname]))
{
?>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/logout.php"  class="underline">Logout</a></td>
  </tr>
  <?
}
?>
  <tr>
    <td height="30" colspan="2" align="left" style="padding-left:5px"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/build_resume.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_postaresume.png" width="113" height="22" alt="Post a Resume" border="0"></a></td>
  </tr>
</table>
<table width="180" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border:1px solid #CFCFCF; margin-top:10px">
  <tr>
    <td height="23" colspan="2" style="padding-left:6px" class="title"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet2.png" width="14" height="14"  border="0"><b>&nbsp; Employers</b></td>
  </tr>

  <?
if(!empty($_SESSION[ename]))
{
?>
  <tr>
    <td width="27" align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td width="140" height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/EditInfo.php" class="underline">Employer Info</a></td>
  </tr>
  <?
}
else
{
?>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
  </tr>
  <tr>
    <td width="27" align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td width="140" height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/employer_registration.php" class="underline">Register here</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/login.php" class="underline">Login</a></td>
  </tr>
  <?
}
?>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/PostJob.php" class="underline">Post Job</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/managejobs.php" class="underline">Manage Jobs</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/pay1.php" class="underline">Update Plan</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/view_resume.php" class="underline">View Resume</a></td>
  </tr>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/EmployerSearch.php" class="underline">Search</a></td>
  </tr>
  <?
if(!empty($_SESSION[ename]))
{
?>
  <tr>
    <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
  </tr>
  <tr>
    <td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
    <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/logout.php" class="underline">Logout</a></td>
  </tr>
  <?
}
?>
  <tr>
    <td height="30" colspan="2" align="left" style="padding-left:5px"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/PostJob.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_postajob.png" width="113" height="22" alt="Post a Job" border="0"></a></td>
  </tr>
</table>
<!-- Resources -->
<table width="180" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border:1px solid #CFCFCF; margin-top:10px">
<tr><td height="23" colspan="2" style="padding-left:6px" class="title"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet2.png" width="14" height="14"  border="0"><b>&nbsp; Resources</b></td>
</tr>

<tr>
<td width="27" align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
<td width="140" height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/faq.php" class="underline">FAQ</a></td>
</tr>
<tr>
  <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
</tr>
<tr>
<td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
<td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/stories.php" class="underline">Success Story</a></td>
</tr>
<tr>
  <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
</tr>
<tr>
<td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
<td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/about.php" class="underline">About Us</a></td>
</tr>
<tr>
  <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
</tr>
<tr>
<td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
<td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/contactus.php" class="underline">Contacts</a></td>
</tr>

<tr>
  <td height="1" colspan="2" align="center" bgcolor="#E7E7E7"></td>
</tr>
<tr>
	<td align="left"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td>
	<td height="20"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/privacy.php" class="underline">Privacy</a></td>
</tr>
</table>


<table width="180" align="center" cellpadding="0" cellspacing="0" style="border: 1px solid #CFCFCF; margin-top:10px" >
  <tr>
    <td height="23" colspan="2" class="title" style="padding-left:6px"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet2.png" width="14" height="14" border="0"><b>&nbsp; </b>Featured Employers</td>
  </tr>
    <tr>
<?php
$c = 0;
$q1 = "SELECT * FROM job_employer_info WHERE Featured = 'y' limit 0,12";
$r1 = mysql_query($q1) or die(mysql_error());

while($a1 = mysql_fetch_array($r1))
{

?>
    <td bgcolor="#FFFFFF" style="padding:5px"><a href="http://<?=$a1[website]?>"><img src="/employers/cache/images/<?=$a1[CompanyLogo]?>" width="70" height="40" style="border:1px solid #CFCFCF"></a></td>
<?
		$c++;
		if($c==2){
			echo "</tr><tr>";
			$c = 0;
		}
	}?>
  </tr>
</table>
<br>
<table width="180" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><?=show_counters($aset[counters]);?></td>
  </tr>
</table>
<br></td>
<td width="788" bgcolor="#FFFFFF" style="padding:10px">
<!-- Center -->


